package zero.tech.games.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import zero.tech.core.data.Resp;

@FeignClient(name = "trade",path = "/trade")
public interface RemoteTrade {
	@PostMapping("/game-update-batch")
	public Resp gameUpdateBatch(@RequestParam("order_id")String order_id, @RequestParam("club_id")int club_id,
			@RequestParam("game_id")int game_id, @RequestParam("room_id")String room_id, @RequestParam("rule_id")int rule_id, @RequestParam("room_times")int room_times,@RequestParam("room_name")String room_name,@RequestParam("total_times")int total_times,
			@RequestParam("joiners")String joiners, @RequestParam("joiners_ai")String joiners_ai,
			@RequestParam("gold_change_map_str")String gold_change_map_str, @RequestParam("water_map")String water_map_str);
}
